/**
 * \file NotificationHandler.cpp
 * \brief NotificationHandler definition class.
 * \author Edouard ROGE
 * \date 10 august 2012
 */

#include "NotificationManager.h"
#include "NotificationHandler.h"

namespace Core
{
	namespace Notification
	{
		NotificationHandler::NotificationHandler()
		{
		}

		NotificationHandler::~NotificationHandler()
		{
		}

		void NotificationHandler::Register(const NotificationType & _type)
		{
			NotificationManager::GetInstance().Register(this, _type);
		}

		void NotificationHandler::Unregister(const NotificationType & _type)
		{
			NotificationManager::GetInstance().Unregister(this, _type);
		}

		void NotificationHandler::Notify(const Notification & _notification) const
		{
			NotificationManager::GetInstance().Notify(_notification);
		}
	}
}